<p>TODO - Work in progress... Shows jobs started but doesn't update job status yet.</p>

<?php if (count($this->jobs) == 0) { ?>
    <p>No jobs</p>
<?php } else { ?>
    <table>
        <thead>
            <tr>
                <th>Date created</th>
                <th>Store</th>
                <th>Description</th>
                <th>Status</th>
                <th>Raw Job Output</th>
            </tr>
        </thead>
        <tbody>
            <?php foreach ($this->jobs as $job) { ?>
                <tr>
                    <td>Date</td>
                    <td>Store</td>
                    <td><?php echo $job['name']; ?></td>
                    <td><?php echo $job['status']; ?></td>
                    <td><a href="<?php echo $job['uri']; ?>" title="View raw job output">View</a></td>
                </tr>
            <?php } ?>
        </tbody>
    </table>
<?php } ?>
